const HOST = 'http://172.81.238.8:8080/tongji-math-paper/api';
const TOKEN_KEY = "tongji-math-paper-token";
const ROLE_KEY = "tongji-math-paper-role";
const UID_KEY = "tongji-math-paper-uid";
const NAME_KEY = "tongji-math-paper-name";

const ROLE_MAP = {
  'student': 0,
  'teacher': 1,
};

export {
  HOST,
  TOKEN_KEY,
  ROLE_KEY,
  ROLE_MAP,
  UID_KEY,
  NAME_KEY
}

import stAvatar from '@/assets/avatar/student.png'
import tcAvatar from '@/assets/avatar/teacher.png'
const avatarMap = {
  'student': stAvatar,
  'teacher': tcAvatar,
  '0': stAvatar,
  '1': tcAvatar
}
export {
  avatarMap
}
